cody - HTMLify profile

cody's Profile Picture

cody

4049 Files

501186 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/208 - PixSort Studio

Screenshots/ cody/swapnilsparsh/30DaysOfJavaScript/208 - PixSort Studio/Screenshots/
4 Items
  • 1.png
  • README.md
  • Home.png
  • 2.png
  • style.scss cody/swapnilsparsh/30DaysOfJavaScript/208 - PixSort Studio/style.scss
    154 Views
    0 Comments
    Media file
    index.html cody/swapnilsparsh/30DaysOfJavaScript/208 - PixSort Studio/index.html
    248 Views
    0 Comments
    <!DOCTYPE html>
    <html>

    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>PixSort Studio</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
    script.js cody/swapnilsparsh/30DaysOfJavaScript/208 - PixSort Studio/script.js
    139 Views
    0 Comments
    // Options
    let sortingAlgorithm = quickSort; // bubbleSort, selectionSort, insertionSort, quickSort, mergeSort
    let comparison = brightness; // brightness, red, green, blue
    let imageSize = 250; // Make smaller for faster run time
    let loops = 100; // # of times sorting algorithm runs before drawing (Higher number means larger changes)
    let pixelDistance = 4; // Makes interesting visual effects (4 is correct value)

    let url = 'https://ipfs.io/ipfs/bafybeihxzhlwsu5lkhzqu7sdlb5c43oinebfced5fdtk2zjgi3te2nbpb4/thun